<?php
$as='{king:title/}';
if(empty($as)){
kc_error('暂时没用内容');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{king:title/} </title>
<meta name="keywords" content="{king:keywords/}" />
<meta name="description" content="{king:description/}" />
<link rel="stylesheet" type="text/css" href="/themes/default/css/hred.css"/>
<link rel="stylesheet" type="text/css" href="/themes/default/css/content.css"/>

<link rel="stylesheet" type="text/css" media="screen" href="/browse/images/system.css" />

<script type="text/javascript" src="/themes/default/js/conter.js"></script>


<script src="/browse/system/editor/xheditor/xheditor-zh-cn.min.js" type="text/javascript"></script>

<script type="text/javascript">
	// 页面加载的时候，给编辑器设置ctrl+enter效果
	$(document).ready(function(){
		$('#content').keydown(function(e){
			if(e.keyCode==13 && e.ctrlKey){
				form_submit();
			}
		});
	});
	
	

	/* 提交表单 */
	function form_submit() {
		if($('#Submit').attr('disabled')==true){alert('您已经发送了请求，请不要重复提交');return;}
		$('#Submit').attr('disabled','true');

		$.kc_ajax({URL:'/browse/kuidb/index.php',CMD:'edt',FORM:'form_publish','tid':19595});


		return false;
	}

	function loadEditor() {
		$('#kcontent').xheditor({
			tools:'Bold,Italic,Underline,Align,List,|,Fontface,FontSize,FontColor,BackColor,|,Img,Flash,Media,Emot,Table,Code,',
			skin:'default',
			width:600,
			height:150,
			internalStyle:false,
			forcePtag:false,
			inlineStyle:true,
			html5Upload:true,

			shortcuts:{'ctrl+enter':form_submit},

			upImgUrl:'/browse/system/upload.php',
			upImgExt:'gif,jpeg,jpg,png',
			
			upLinkExt:'7z,zip,rar'
			/*  */
		});
		
	}
	</script>

</head>
<body>

	<div class="top_p">
	</div>
	<div class="bianji">
	</div>
	<div class="conter">
		
		<div class="conter_nav">
		<a href="/">首页</a>>{king:nav line=">" /}
		</div>

		{king:inside/}
	
	</div>


	<div class="font">
	{king:block name='网站版权信息' /}
	</div>
	
</body>
</html>


